<?php
	date_default_timezone_set("PRC");
	function __autoload($className){
		include $className.".class.php";
	}
	$Db = new Db("localhost", "root", "admin", "test") or die("Links DB error!!!");
/*	
	$timeDate = time();
	$ipAdds = $_SERVER['REMOTE_ADDR'];
	$scriptName = $_SERVER['SCRIPT_NAME'];
	$sql = "INSERT `ipadds` (`Ipadds`, `TimeDate`, `ScriptName`) VALUES ('%s', '%d', '%s')";
	$formatSQL = sprintf($sql, $ipAdds, $timeDate, $scriptName);
	echo $formatSQL;
	$queryObj = $Db->query($formatSQL);
	if(false == $queryObj){
		echo "Insert DB ipadds error!!!";
	}
		
*/	
	$Web = new Web($Db);
	
	

